package com.jx.lcs.employee.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
/** 
 * 
 * @author JiaYY 
 * @date 2015年7月9日
 */
import org.hibernate.annotations.GenericGenerator;

/**
 * 理财师信息 
 */
@Entity
@Table(name = "tb_xh_employee")
@DynamicInsert
@DynamicUpdate
public class Employee implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	
	private String id;
	
	private String userCode;
	
	private String jxId;
	
	private String userName;
	
	private String cardNo;
	
	private String userDept;
	
	private String telephone;
	
	private String post;

	private String city;
	
	private String directSuperior;
	
	private Date createTime;
	
	@Id
	@GenericGenerator(name = "idGenerator", strategy = "uuid")
	@GeneratedValue(generator = "idGenerator")
	@Column(name = "ID", unique = true, nullable = false)
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "USERCODE")
	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	@Column(name = "USERNAME")
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Column(name = "USERDEPT")
	public String getUserDept() {
		return userDept;
	}

	public void setUserDept(String userDept) {
		this.userDept = userDept;
	}

	@Column(name = "TELEPHONE")
	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	@Column(name = "POST")
	public String getPost() {
		return post;
	}

	public void setPost(String post) {
		this.post = post;
	}

	@Column(name = "DIRECTSUPERIOR")
	public String getDirectSuperior() {
		return directSuperior;
	}

	public void setDirectSuperior(String directSuperior) {
		this.directSuperior = directSuperior;
	}

	@Column(name = "CARDNO")
	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "CREATETIME")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "JXID")
	public String getJxId() {
		return jxId;
	}

	public void setJxId(String jxId) {
		this.jxId = jxId;
	}
	
	@Column(name = "CITY")
	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

}
